home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / Businessƒ / Finance / Sales&Payroll / cards.xml < prev    next >
Encoding:
Text File  |  1992-08-11  |  54.6 KB  |  1,336 lines

  1. card_4663.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4663</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_5055.pbm</bitmap>
  8.     <cantDelete> <true /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2589</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_2288.css" />
  13.     <part>
  14.         <id>10</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <true /> </enabled>
  23.         <rect>
  24.             <left>11</left>
  25.             <top>315</top>
  26.             <right>118</right>
  27.             <bottom>336</bottom>
  28.         </rect>
  29.         <style>roundrect</style>
  30.         <showName> <true /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <true /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>Tomorrow</name>
  42.         <script>on mouseUp
  43. --there has to be an easier way to show a button only on the last card
  44. set cursor to 4
  45. hide card button 1
  46. set locktext of card field 1 to true --prevent changes to cards as
  47. set locktext of card field 2 to true --an audit control.  If a mistake
  48. set locktext of card field 3 to true --is made, correct with a ¬± adj.
  49. set locktext of card field 4 to true --on current day.
  50. put field "Date" into startdate
  51. convert startdate to dateItems
  52. add 1 to item 3 of startdate
  53. doMenu "Copy Card"
  54. doMenu "Paste Card"
  55. put empty into card field 1
  56. put empty into card field 2
  57. put empty into card field 3
  58. put empty into card field 4
  59. convert startdate to long date
  60. put startdate into field "date" of last card
  61. show card button 1
  62. set locktext of card field 1 to false
  63. set locktext of card field 2 to false
  64. end mouseUp
  65.  
  66.  
  67. </script>
  68.     </part>
  69.     <part>
  70.         <id>11</id>
  71.         <type>button</type>
  72.         <visible> <true /> </visible>
  73.         <reserved5> 0 </reserved5>
  74.         <reserved4> 0 </reserved4>
  75.         <reserved3> 0 </reserved3>
  76.         <reserved2> 0 </reserved2>
  77.         <reserved1> 0 </reserved1>
  78.         <enabled> <true /> </enabled>
  79.         <rect>
  80.             <left>242</left>
  81.             <top>320</top>
  82.             <right>277</right>
  83.             <bottom>342</bottom>
  84.         </rect>
  85.         <style>shadow</style>
  86.         <showName> <false /> </showName>
  87.         <highlight> <false /> </highlight>
  88.         <autoHighlight> <false /> </autoHighlight>
  89.         <sharedHighlight> <true /> </sharedHighlight>
  90.         <family>0</family>
  91.         <titleWidth>0</titleWidth>
  92.         <icon>2162</icon>
  93.         <textAlign>center</textAlign>
  94.         <font>Chicago</font>
  95.         <textSize>12</textSize>
  96.         <textStyle>plain</textStyle>
  97.         <name>New Button</name>
  98.         <script>on mouseUp
  99. go to first card
  100. end mouseUp
  101. </script>
  102.     </part>
  103.     <part>
  104.         <id>12</id>
  105.         <type>field</type>
  106.         <visible> <true /> </visible>
  107.         <dontWrap> <false /> </dontWrap>
  108.         <dontSearch> <false /> </dontSearch>
  109.         <sharedText> <false /> </sharedText>
  110.         <fixedLineHeight> <true /> </fixedLineHeight>
  111.         <autoTab> <false /> </autoTab>
  112.         <lockText> <false /> </lockText>
  113.         <rect>
  114.             <left>199</left>
  115.             <top>52</top>
  116.             <right>271</right>
  117.             <bottom>308</bottom>
  118.         </rect>
  119.         <style>rectangle</style>
  120.         <autoSelect> <false /> </autoSelect>
  121.         <showLines> <true /> </showLines>
  122.         <wideMargins> <false /> </wideMargins>
  123.         <multipleLines> <false /> </multipleLines>
  124.         <reservedFamily> 0 </reservedFamily>
  125.         <titleWidth>0</titleWidth>
  126.         <icon>0</icon>
  127.         <textAlign>right</textAlign>
  128.         <font>Geneva</font>
  129.         <textSize>9</textSize>
  130.         <textStyle>plain</textStyle>
  131.         <textHeight>12</textHeight>
  132.         <name></name>
  133.         <script>on closeField
  134. set the numberFormat to "#.00"
  135. set the cursor to 4
  136.  
  137.  
  138. --Total Lunch
  139. put line 3 of card field 1 + line 6 of card field 1 into ¬¨
  140. line 10 of card field 1
  141.  
  142. --Total Dinner
  143. put line 4 of card field 1 + line 7 of card field 1 into ¬¨
  144. line 11 of card field 1
  145.  
  146. --Total Food
  147. put line 2 of card field 1 + line 3 of card field 1¬¨
  148. + line 4 of card field 1 into line 13 of card field 1
  149.  
  150. --Total Alcohol
  151. put line 6 of card field 1 + line 7 of card field 1 into ¬¨
  152. line 14 of card field 1
  153.  
  154. --Total Sales
  155. put line 13 of card field 1 + line 14 of card field 1 into ¬¨
  156. line 16 of card field 1
  157.  
  158. --Total Payroll
  159. put line 18 of card field 1 + line 19 of card field 1¬¨
  160. + line 20 of card field 1 into line 21 of card field 1
  161.  
  162. -----------------------------------------------------------------------
  163. --Month to Date
  164. --Line 2
  165. Put line 2 of card field 1 + line 2 of card field 3 of previous card¬¨
  166. into line 2 of card field 3
  167.  
  168. --Line 3
  169. Put line 3 of card field 1 + line 3 of card field 3 of previous card¬¨
  170. into line 3 of card field 3
  171.  
  172. --Line 4
  173. Put line 4 of card field 1 + line 4 of card field 3 of previous card¬¨
  174. into line 4 of card field 3
  175.  
  176. --Line 6
  177. Put line 6 of card field 1 + line 6 of card field 3 of previous card¬¨
  178. into line 6 of card field 3
  179.  
  180. --Line 7
  181. Put line 7 of card field 1 + line 7 of card field 3 of previous card¬¨
  182. into line 7 of card field 3
  183.  
  184. --Line 10
  185. Put line 10 of card field 1 + line 10 of card field 3 of previous card¬¨
  186. into line 10 of card field 3
  187.  
  188. --Line 11
  189. Put line 11 of card field 1 + line 11 of card field 3 of previous card¬¨
  190. into line 11 of card field 3
  191.  
  192. --Line 13
  193. Put line 13 of card field 1 + line 13 of card field 3 of previous card¬¨
  194. into line 13 of card field 3
  195.  
  196. --Line 14
  197. Put line 14 of card field 1 + line 14 of card field 3 of previous card¬¨
  198. into line 14 of card field 3
  199.  
  200. --Line 16
  201. Put line 16 of card field 1 + line 16 of card field 3 of previous card¬¨
  202. into line 16 of card field 3
  203.  
  204. --Line 18
  205. Put line 18 of card field 1 + line 18 of card field 3 of previous card¬¨
  206. into line 18 of card field 3
  207.  
  208. --Line 19
  209. Put line 19 of card field 1 + line 19 of card field 3 of previous card¬¨
  210. into line 19 of card field 3
  211.  
  212. --Line 20
  213. Put line 20 of card field 1 + line 20 of card field 3 of previous card¬¨
  214. into line 20 of card field 3
  215.  
  216. --Line 21
  217. Put line 21 of card field 1 + line 21 of card field 3 of previous card¬¨
  218. into line 21 of card field 3
  219.  
  220.  
  221. -----------------------------------------------------------------------
  222. --Year to Date
  223. --Line 2
  224. Put line 2 of card field 1 + line 2 of card field 4 of previous card¬¨
  225. into line 2 of card field 4
  226.  
  227. --Line 3
  228. Put line 3 of card field 1 + line 3 of card field 4 of previous card¬¨
  229. into line 3 of card field 4
  230.  
  231. --Line 4
  232. Put line 4 of card field 1 + line 4 of card field 4 of previous card¬¨
  233. into line 4 of card field 4
  234.  
  235. --Line 6
  236. Put line 6 of card field 1 + line 6 of card field 4 of previous card¬¨
  237. into line 6 of card field 4
  238.  
  239. --Line 7
  240. Put line 7 of card field 1 + line 7 of card field 4 of previous card¬¨
  241. into line 7 of card field 4
  242.  
  243. --Line 10
  244. Put line 10 of card field 1 + line 10 of card field 4 of previous card¬¨
  245. into line 10 of card field 4
  246.  
  247. --Line 11
  248. Put line 11 of card field 1 + line 11 of card field 4 of previous card¬¨
  249. into line 11 of card field 4
  250.  
  251. --Line 13
  252. Put line 13 of card field 1 + line 13 of card field 4 of previous card¬¨
  253. into line 13 of card field 4
  254.  
  255. --Line 14
  256. Put line 14 of card field 1 + line 14 of card field 4 of previous card¬¨
  257. into line 14 of card field 4
  258.  
  259. --Line 16
  260. Put line 16 of card field 1 + line 16 of card field 4 of previous card¬¨
  261. into line 16 of card field 4
  262.  
  263. --Line 18
  264. Put line 18 of card field 1 + line 18 of card field 4 of previous card¬¨
  265. into line 18 of card field 4
  266.  
  267. --Line 19
  268. Put line 19 of card field 1 + line 19 of card field 4 of previous card¬¨
  269. into line 19 of card field 4
  270.  
  271. --Line 20
  272. Put line 20 of card field 1 + line 20 of card field 4 of previous card¬¨
  273. into line 20 of card field 4
  274.  
  275. --Line 21
  276. Put line 21 of card field 1 + line 21 of card field 4 of previous card¬¨
  277. into line 21 of card field 4
  278.  
  279.  
  280. end closeField</script>
  281.     </part>
  282.     <part>
  283.         <id>13</id>
  284.         <type>field</type>
  285.         <visible> <true /> </visible>
  286.         <dontWrap> <false /> </dontWrap>
  287.         <dontSearch> <false /> </dontSearch>
  288.         <sharedText> <false /> </sharedText>
  289.         <fixedLineHeight> <true /> </fixedLineHeight>
  290.         <autoTab> <false /> </autoTab>
  291.         <lockText> <false /> </lockText>
  292.         <rect>
  293.             <left>282</left>
  294.             <top>52</top>
  295.             <right>351</right>
  296.             <bottom>308</bottom>
  297.         </rect>
  298.         <style>rectangle</style>
  299.         <autoSelect> <false /> </autoSelect>
  300.         <showLines> <true /> </showLines>
  301.         <wideMargins> <false /> </wideMargins>
  302.         <multipleLines> <false /> </multipleLines>
  303.         <reservedFamily> 0 </reservedFamily>
  304.         <titleWidth>0</titleWidth>
  305.         <icon>0</icon>
  306.         <textAlign>right</textAlign>
  307.         <font>Geneva</font>
  308.         <textSize>9</textSize>
  309.         <textStyle>plain</textStyle>
  310.         <textHeight>12</textHeight>
  311.         <name></name>
  312.         <script>on closeField
  313. set the numberFormat to "#.00"
  314. set the cursor to 4
  315.  
  316. --Total Lunch
  317. put line 3 of card field 2 + line 6 of card field 2 into ¬¨
  318. line 10 of card field 2
  319.  
  320. --Total Dinner
  321. put line 4 of card field 2 + line 7 of card field 2 into ¬¨
  322. line 11 of card field 2
  323.  
  324. --Total Food
  325. put line 2 of card field 2 + line 3 of card field 2¬¨
  326. + line 4 of card field 2 into line 13 of card field 2
  327.  
  328. --Total Alcohol
  329. put line 6 of card field 2 + line 7 of card field 2 into ¬¨
  330. line 14 of card field 2
  331.  
  332. --Total Sales
  333. put line 13 of card field 2 + line 14 of card field 2 into ¬¨
  334. line 16 of card field 2
  335.  
  336. --Total Payroll
  337. put line 18 of card field 2 + line 19 of card field 2¬¨
  338. + line 20 of card field 2 into line 21 of card field 2
  339.  
  340. end closeField</script>
  341.     </part>
  342.     <part>
  343.         <id>14</id>
  344.         <type>field</type>
  345.         <visible> <true /> </visible>
  346.         <dontWrap> <false /> </dontWrap>
  347.         <dontSearch> <false /> </dontSearch>
  348.         <sharedText> <false /> </sharedText>
  349.         <fixedLineHeight> <true /> </fixedLineHeight>
  350.         <autoTab> <false /> </autoTab>
  351.         <lockText> <true /> </lockText>
  352.         <rect>
  353.             <left>363</left>
  354.             <top>52</top>
  355.             <right>432</right>
  356.             <bottom>308</bottom>
  357.         </rect>
  358.         <style>rectangle</style>
  359.         <autoSelect> <false /> </autoSelect>
  360.         <showLines> <true /> </showLines>
  361.         <wideMargins> <false /> </wideMargins>
  362.         <multipleLines> <false /> </multipleLines>
  363.         <reservedFamily> 0 </reservedFamily>
  364.         <titleWidth>0</titleWidth>
  365.         <icon>0</icon>
  366.         <textAlign>right</textAlign>
  367.         <font>Geneva</font>
  368.         <textSize>9</textSize>
  369.         <textStyle>plain</textStyle>
  370.         <textHeight>12</textHeight>
  371.         <name></name>
  372.         <script></script>
  373.     </part>
  374.     <part>
  375.         <id>15</id>
  376.         <type>field</type>
  377.         <visible> <true /> </visible>
  378.         <dontWrap> <false /> </dontWrap>
  379.         <dontSearch> <false /> </dontSearch>
  380.         <sharedText> <false /> </sharedText>
  381.         <fixedLineHeight> <true /> </fixedLineHeight>
  382.         <autoTab> <false /> </autoTab>
  383.         <lockText> <true /> </lockText>
  384.         <rect>
  385.             <left>441</left>
  386.             <top>52</top>
  387.             <right>510</right>
  388.             <bottom>308</bottom>
  389.         </rect>
  390.         <style>rectangle</style>
  391.         <autoSelect> <false /> </autoSelect>
  392.         <showLines> <true /> </showLines>
  393.         <wideMargins> <false /> </wideMargins>
  394.         <multipleLines> <false /> </multipleLines>
  395.         <reservedFamily> 0 </reservedFamily>
  396.         <titleWidth>0</titleWidth>
  397.         <icon>0</icon>
  398.         <textAlign>right</textAlign>
  399.         <font>Geneva</font>
  400.         <textSize>9</textSize>
  401.         <textStyle>plain</textStyle>
  402.         <textHeight>12</textHeight>
  403.         <name></name>
  404.         <script>on closeField
  405. set the numberFormat to "#.00"
  406.  
  407. --Total Lunch
  408. put line 3 of field ID 13 + line 6 of field ID 13 into ¬¨
  409. line 10 of field ID 13
  410.  
  411. --Total Dinner
  412. put line 4 of field ID 13 + line 7 of field ID 13 into ¬¨
  413. line 11 of field ID 13
  414.  
  415. --Total Food
  416. put line 2 of field ID 13 + line 3 of field ID 13¬¨
  417. + line 4 of field ID 13 into line 13 of field ID 13
  418.  
  419. --Total Alcohol
  420. put line 6 of field ID 13 + line 7 of field ID 13 into ¬¨
  421. line 14 of field ID 13
  422.  
  423. --Total Sales
  424. put line 13 of field ID 13 + line 14 of field ID 13 into ¬¨
  425. line 16 of field ID 13
  426.  
  427.  
  428. --Month to Date
  429. --Line 2
  430. Put line 2 of field ID 6 + line 2 of field ID 12 of previous card¬¨
  431. into line 2 of field ID 12
  432.  
  433.  
  434.  
  435. --Year to Date
  436. --Line 2
  437. Put line 2 of field ID 6 + line 2 of field ID 13 of previous card¬¨
  438. into line 2 of field ID 13
  439.  
  440.  
  441. end closeField
  442. </script>
  443.     </part>
  444.     <part>
  445.         <id>20</id>
  446.         <type>field</type>
  447.         <visible> <true /> </visible>
  448.         <dontWrap> <false /> </dontWrap>
  449.         <dontSearch> <false /> </dontSearch>
  450.         <sharedText> <false /> </sharedText>
  451.         <fixedLineHeight> <true /> </fixedLineHeight>
  452.         <autoTab> <false /> </autoTab>
  453.         <lockText> <false /> </lockText>
  454.         <rect>
  455.             <left>199</left>
  456.             <top>256</top>
  457.             <right>273</right>
  458.             <bottom>309</bottom>
  459.         </rect>
  460.         <style>shadow</style>
  461.         <autoSelect> <false /> </autoSelect>
  462.         <showLines> <true /> </showLines>
  463.         <wideMargins> <false /> </wideMargins>
  464.         <multipleLines> <false /> </multipleLines>
  465.         <reservedFamily> 0 </reservedFamily>
  466.         <titleWidth>0</titleWidth>
  467.         <icon>0</icon>
  468.         <textAlign>right</textAlign>
  469.         <font>Geneva</font>
  470.         <textSize>9</textSize>
  471.         <textStyle>plain</textStyle>
  472.         <textHeight>12</textHeight>
  473.         <name></name>
  474.         <script></script>
  475.     </part>
  476.     <part>
  477.         <id>16</id>
  478.         <type>button</type>
  479.         <visible> <false /> </visible>
  480.         <reserved5> 0 </reserved5>
  481.         <reserved4> 0 </reserved4>
  482.         <reserved3> 0 </reserved3>
  483.         <reserved2> 0 </reserved2>
  484.         <reserved1> 0 </reserved1>
  485.         <enabled> <true /> </enabled>
  486.         <rect>
  487.             <left>271</left>
  488.             <top>256</top>
  489.             <right>284</right>
  490.             <bottom>307</bottom>
  491.         </rect>
  492.         <style>transparent</style>
  493.         <showName> <true /> </showName>
  494.         <highlight> <false /> </highlight>
  495.         <autoHighlight> <true /> </autoHighlight>
  496.         <sharedHighlight> <true /> </sharedHighlight>
  497.         <family>0</family>
  498.         <titleWidth>0</titleWidth>
  499.         <icon>0</icon>
  500.         <textAlign>center</textAlign>
  501.         <font>Chicago</font>
  502.         <textSize>12</textSize>
  503.         <textStyle>plain</textStyle>
  504.         <name>%</name>
  505.         <script>on mouseUp
  506. set cursor to 4
  507. set the numberFormat to "#.0"
  508.  
  509. put 100 * line 18 of card field 1 / line 16¬¨
  510. of card field 1 & " %  " into line 1 of card field ID 20
  511.  
  512. put 100 * line 19 of card field 1 / line 16¬¨
  513. of card field 1 & " %  " into line 2 of card field ID 20
  514.  
  515. put 100 * line 20 of card field 1 / line 16¬¨
  516. of card field 1 & " %  " into line 3 of card field ID 20
  517.  
  518. put 100 * line 21 of card field 1 / line 16¬¨
  519. of card field 1 & " %  " into line 4 of card field ID 20
  520.  
  521. ----------------------------------------------------------------------
  522.  
  523.  
  524. put 100 * line 18 of card field 2 / line 16¬¨
  525. of card field 2 & " %  " into line 1 of card field ID 21
  526.  
  527. put 100 * line 19 of card field 2 / line 16¬¨
  528. of card field 2 & " %  " into line 2 of card field ID 21
  529.  
  530. put 100 * line 20 of card field 2 / line 16¬¨
  531. of card field 2 & " %  " into line 3 of card field ID 21
  532.  
  533. put 100 * line 21 of card field 2 / line 16¬¨
  534. of card field 2 & " %  " into line 4 of card field ID 21
  535.  
  536.  
  537. show card field ID 20
  538. show card field ID 21
  539. hide card button ID 16
  540. show card button ID 19
  541. end mouseUp
  542.  
  543.  
  544. </script>
  545.     </part>
  546.     <part>
  547.         <id>19</id>
  548.         <type>button</type>
  549.         <visible> <true /> </visible>
  550.         <reserved5> 0 </reserved5>
  551.         <reserved4> 0 </reserved4>
  552.         <reserved3> 0 </reserved3>
  553.         <reserved2> 0 </reserved2>
  554.         <reserved1> 0 </reserved1>
  555.         <enabled> <true /> </enabled>
  556.         <rect>
  557.             <left>271</left>
  558.             <top>256</top>
  559.             <right>284</right>
  560.             <bottom>309</bottom>
  561.         </rect>
  562.         <style>transparent</style>
  563.         <showName> <true /> </showName>
  564.         <highlight> <false /> </highlight>
  565.         <autoHighlight> <true /> </autoHighlight>
  566.         <sharedHighlight> <true /> </sharedHighlight>
  567.         <family>0</family>
  568.         <titleWidth>0</titleWidth>
  569.         <icon>0</icon>
  570.         <textAlign>center</textAlign>
  571.         <font>Chicago</font>
  572.         <textSize>12</textSize>
  573.         <textStyle>plain</textStyle>
  574.         <name>$</name>
  575.         <script>on mouseUp
  576. set cursor to 4
  577. hide card field ID 20
  578. hide card field ID 21
  579. hide card button ID 19
  580. show card button ID 16
  581.  
  582. end mouseUp
  583. </script>
  584.     </part>
  585.     <part>
  586.         <id>21</id>
  587.         <type>field</type>
  588.         <visible> <true /> </visible>
  589.         <dontWrap> <false /> </dontWrap>
  590.         <dontSearch> <false /> </dontSearch>
  591.         <sharedText> <false /> </sharedText>
  592.         <fixedLineHeight> <true /> </fixedLineHeight>
  593.         <autoTab> <false /> </autoTab>
  594.         <lockText> <false /> </lockText>
  595.         <rect>
  596.             <left>284</left>
  597.             <top>256</top>
  598.             <right>354</right>
  599.             <bottom>308</bottom>
  600.         </rect>
  601.         <style>shadow</style>
  602.         <autoSelect> <false /> </autoSelect>
  603.         <showLines> <true /> </showLines>
  604.         <wideMargins> <false /> </wideMargins>
  605.         <multipleLines> <false /> </multipleLines>
  606.         <reservedFamily> 0 </reservedFamily>
  607.         <titleWidth>0</titleWidth>
  608.         <icon>0</icon>
  609.         <textAlign>right</textAlign>
  610.         <font>Geneva</font>
  611.         <textSize>9</textSize>
  612.         <textStyle>plain</textStyle>
  613.         <textHeight>12</textHeight>
  614.         <name></name>
  615.         <script>on openField
  616. put
  617. end openField</script>
  618.     </part>
  619.     <part>
  620.         <id>22</id>
  621.         <type>button</type>
  622.         <visible> <false /> </visible>
  623.         <reserved5> 0 </reserved5>
  624.         <reserved4> 0 </reserved4>
  625.         <reserved3> 0 </reserved3>
  626.         <reserved2> 0 </reserved2>
  627.         <reserved1> 0 </reserved1>
  628.         <enabled> <true /> </enabled>
  629.         <rect>
  630.             <left>431</left>
  631.             <top>257</top>
  632.             <right>444</right>
  633.             <bottom>308</bottom>
  634.         </rect>
  635.         <style>transparent</style>
  636.         <showName> <true /> </showName>
  637.         <highlight> <false /> </highlight>
  638.         <autoHighlight> <true /> </autoHighlight>
  639.         <sharedHighlight> <true /> </sharedHighlight>
  640.         <family>0</family>
  641.         <titleWidth>0</titleWidth>
  642.         <icon>0</icon>
  643.         <textAlign>center</textAlign>
  644.         <font>Chicago</font>
  645.         <textSize>12</textSize>
  646.         <textStyle>plain</textStyle>
  647.         <name>%</name>
  648.         <script>on mouseUp
  649. set cursor to 4
  650. set the numberFormat to "#.0"
  651.  
  652. put 100 * line 18 of card field 3 / line 16¬¨
  653. of card field 3 & " %  " into line 1 of card field ID 24
  654.  
  655. put 100 * line 19 of card field 3 / line 16¬¨
  656. of card field 3 & " %  " into line 2 of card field ID 24
  657.  
  658. put 100 * line 20 of card field 3 / line 16¬¨
  659. of card field 3 & " %  " into line 3 of card field ID 24
  660.  
  661. put 100 * line 21 of card field 3 / line 16¬¨
  662. of card field 3 & " %  " into line 4 of card field ID 24
  663.  
  664. ----------------------------------------------------------------------
  665.  
  666.  
  667. put 100 * line 18 of card field 4 / line 16¬¨
  668. of card field 4 & " %  " into line 1 of card field ID 25
  669.  
  670. put 100 * line 19 of card field 4 / line 16¬¨
  671. of card field 4 & " %  " into line 2 of card field ID 25
  672.  
  673. put 100 * line 20 of card field 4 / line 16¬¨
  674. of card field 4 & " %  " into line 3 of card field ID 25
  675.  
  676. put 100 * line 21 of card field 4 / line 16¬¨
  677. of card field 4 & " %  " into line 4 of card field ID 25
  678.  
  679.  
  680. show card field ID 24
  681. show card field ID 25
  682. hide card button ID 22
  683. show card button ID 23
  684. end mouseUp
  685.  
  686.  
  687. </script>
  688.     </part>
  689.     <part>
  690.         <id>23</id>
  691.         <type>button</type>
  692.         <visible> <true /> </visible>
  693.         <reserved5> 0 </reserved5>
  694.         <reserved4> 0 </reserved4>
  695.         <reserved3> 0 </reserved3>
  696.         <reserved2> 0 </reserved2>
  697.         <reserved1> 0 </reserved1>
  698.         <enabled> <true /> </enabled>
  699.         <rect>
  700.             <left>431</left>
  701.             <top>257</top>
  702.             <right>444</right>
  703.             <bottom>310</bottom>
  704.         </rect>
  705.         <style>transparent</style>
  706.         <showName> <true /> </showName>
  707.         <highlight> <false /> </highlight>
  708.         <autoHighlight> <true /> </autoHighlight>
  709.         <sharedHighlight> <true /> </sharedHighlight>
  710.         <family>0</family>
  711.         <titleWidth>0</titleWidth>
  712.         <icon>0</icon>
  713.         <textAlign>center</textAlign>
  714.         <font>Chicago</font>
  715.         <textSize>12</textSize>
  716.         <textStyle>plain</textStyle>
  717.         <name>$</name>
  718.         <script>on mouseUp
  719. set cursor to 4
  720. hide card field ID 24
  721. hide card field ID 25
  722. hide card button ID 23
  723. show card button ID 22
  724.  
  725. end mouseUp
  726. </script>
  727.     </part>
  728.     <part>
  729.         <id>24</id>
  730.         <type>field</type>
  731.         <visible> <true /> </visible>
  732.         <dontWrap> <false /> </dontWrap>
  733.         <dontSearch> <false /> </dontSearch>
  734.         <sharedText> <false /> </sharedText>
  735.         <fixedLineHeight> <true /> </fixedLineHeight>
  736.         <autoTab> <false /> </autoTab>
  737.         <lockText> <false /> </lockText>
  738.         <rect>
  739.             <left>360</left>
  740.             <top>256</top>
  741.             <right>434</right>
  742.             <bottom>309</bottom>
  743.         </rect>
  744.         <style>shadow</style>
  745.         <autoSelect> <false /> </autoSelect>
  746.         <showLines> <true /> </showLines>
  747.         <wideMargins> <false /> </wideMargins>
  748.         <multipleLines> <false /> </multipleLines>
  749.         <reservedFamily> 0 </reservedFamily>
  750.         <titleWidth>0</titleWidth>
  751.         <icon>0</icon>
  752.         <textAlign>right</textAlign>
  753.         <font>Geneva</font>
  754.         <textSize>9</textSize>
  755.         <textStyle>plain</textStyle>
  756.         <textHeight>12</textHeight>
  757.         <name></name>
  758.         <script></script>
  759.     </part>
  760.     <part>
  761.         <id>25</id>
  762.         <type>field</type>
  763.         <visible> <true /> </visible>
  764.         <dontWrap> <false /> </dontWrap>
  765.         <dontSearch> <false /> </dontSearch>
  766.         <sharedText> <false /> </sharedText>
  767.         <fixedLineHeight> <true /> </fixedLineHeight>
  768.         <autoTab> <false /> </autoTab>
  769.         <lockText> <false /> </lockText>
  770.         <rect>
  771.             <left>441</left>
  772.             <top>256</top>
  773.             <right>511</right>
  774.             <bottom>308</bottom>
  775.         </rect>
  776.         <style>shadow</style>
  777.         <autoSelect> <false /> </autoSelect>
  778.         <showLines> <true /> </showLines>
  779.         <wideMargins> <false /> </wideMargins>
  780.         <multipleLines> <false /> </multipleLines>
  781.         <reservedFamily> 0 </reservedFamily>
  782.         <titleWidth>0</titleWidth>
  783.         <icon>0</icon>
  784.         <textAlign>right</textAlign>
  785.         <font>Geneva</font>
  786.         <textSize>9</textSize>
  787.         <textStyle>plain</textStyle>
  788.         <textHeight>12</textHeight>
  789.         <name></name>
  790.         <script>on openField
  791. put
  792. end openField</script>
  793.     </part>
  794.     <content>
  795.         <layer>background</layer>
  796.         <id>5</id>
  797.         <text>Monday, November 2, 1987</text>
  798.     </content>
  799.     <content>
  800.         <layer>background</layer>
  801.         <id>4</id>
  802.         <text>
  803. Breakfast Food Sales
  804. Lunch Food Sales
  805. Dinner Food Sales
  806.  
  807. Lunch Alcohol Sales
  808. Dinner Alcohol Sales
  809.  
  810.  
  811.      Total Lunch
  812.      Total Dinner
  813.  
  814.      Total Food
  815.      Total Alcohol
  816.  
  817.                            Total Sales
  818.  
  819. Management & Administrative Payroll
  820. Kitchen Payroll
  821. Service Payroll
  822. Total Payroll</text>
  823.     </content>
  824.     <content>
  825.         <layer>card</layer>
  826.         <id>20</id>
  827.         <text>13.5 %  
  828. 9.3 %  
  829. 6.4 %  
  830. 29.1 %  </text>
  831.     </content>
  832.     <content>
  833.         <layer>card</layer>
  834.         <id>21</id>
  835.         <text>12.5 %  
  836. 10.1 %  
  837. 5.1 %  
  838. 27.7 %  </text>
  839.     </content>
  840.     <content>
  841.         <layer>card</layer>
  842.         <id>24</id>
  843.         <text>12.6 %  
  844. 9.5 %  
  845. 5.7 %  
  846. 27.8 %  </text>
  847.     </content>
  848.     <content>
  849.         <layer>card</layer>
  850.         <id>25</id>
  851.         <text>10.0 %  
  852. 11.5 %  
  853. 5.3 %  
  854. 26.8 %  </text>
  855.     </content>
  856.     <content>
  857.         <layer>card</layer>
  858.         <id>12</id>
  859.         <text>
  860. 115.40
  861. 389.32
  862. 1343.67
  863.  
  864. 33.33
  865. 650.32
  866.  
  867.  
  868. 422.65
  869. 1993.99
  870.  
  871. 1848.39
  872. 683.65
  873.  
  874. 2532.04
  875.  
  876. 340.90
  877. 234.65
  878. 160.87
  879. 736.42</text>
  880.     </content>
  881.     <content>
  882.         <layer>card</layer>
  883.         <id>14</id>
  884.         <text>
  885. 468.20
  886. 1265.87
  887. 2578.23
  888.  
  889. 81.34
  890. 997.18
  891.  
  892.  
  893. 1347.21
  894. 3575.41
  895.  
  896. 4312.30
  897. 1078.52
  898.  
  899. 5390.82
  900.  
  901. 681.80
  902. 510.99
  903. 306.41
  904. 1499.20</text>
  905.     </content>
  906.     <content>
  907.         <layer>card</layer>
  908.         <id>15</id>
  909.         <text>
  910. 77011.40
  911. 146944.20
  912. 546257.21
  913.  
  914. 56870.79
  915. 235783.30
  916.  
  917.  
  918. 203814.99
  919. 782040.51
  920.  
  921. 770212.81
  922. 292654.09
  923.  
  924. 1062866.90
  925.  
  926. 106024.00
  927. 122487.31
  928. 55961.30
  929. 284472.61</text>
  930.     </content>
  931.     <content>
  932.         <layer>card</layer>
  933.         <id>13</id>
  934.         <text>
  935. 89.43
  936. 435.87
  937. 1598.09
  938.  
  939. 45.67
  940. 234.67
  941.  
  942.  
  943. 481.54
  944. 1832.76
  945.  
  946. 2123.39
  947. 280.34
  948.  
  949. 2403.73
  950.  
  951. 300.01
  952. 243.22
  953. 122.22
  954. 665.45</text>
  955.     </content>
  956.     <name></name>
  957.     <script>on startup
  958. if this card is the last card then
  959. show bkgnd button ID 11
  960. end if
  961. end startup
  962. </script>
  963. </card>
  964.  
  965.  
  966. card_2967.xml
  967. <?xml version="1.0" encoding="utf-8" ?>
  968. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  969. <card>
  970.     <id>2967</id>
  971.     <filler1>0</filler1>
  972.     <bitmap>BMAP_5840.pbm</bitmap>
  973.     <cantDelete> <true /> </cantDelete>
  974.     <showPict> <true /> </showPict>
  975.     <dontSearch> <false /> </dontSearch>
  976.     <owner>2589</owner>
  977.     <link rel="stylesheet" type="text/css" href="stylesheet_2288.css" />
  978.     <part>
  979.         <id>10</id>
  980.         <type>button</type>
  981.         <visible> <false /> </visible>
  982.         <reserved5> 0 </reserved5>
  983.         <reserved4> 0 </reserved4>
  984.         <reserved3> 0 </reserved3>
  985.         <reserved2> 0 </reserved2>
  986.         <reserved1> 0 </reserved1>
  987.         <enabled> <true /> </enabled>
  988.         <rect>
  989.             <left>11</left>
  990.             <top>315</top>
  991.             <right>118</right>
  992.             <bottom>336</bottom>
  993.         </rect>
  994.         <style>roundrect</style>
  995.         <showName> <true /> </showName>
  996.         <highlight> <false /> </highlight>
  997.         <autoHighlight> <true /> </autoHighlight>
  998.         <sharedHighlight> <true /> </sharedHighlight>
  999.         <family>0</family>
  1000.         <titleWidth>0</titleWidth>
  1001.         <icon>0</icon>
  1002.         <textAlign>center</textAlign>
  1003.         <font>Chicago</font>
  1004.         <textSize>12</textSize>
  1005.         <textStyle>plain</textStyle>
  1006.         <name>Tomorrow</name>
  1007.         <script>on mouseUp
  1008. --there has to be an easier way to show a button only on the last card
  1009. set cursor to 4
  1010. hide card button 1
  1011. set locktext of card field 1 to true --prevent changes to cards as
  1012. set locktext of card field 2 to true --an audit control.  If a mistake
  1013. set locktext of card field 3 to true --is made, correct with a ¬± adj.
  1014. set locktext of card field 4 to true --on current day.
  1015. put field "Date" into startdate
  1016. convert startdate to dateItems
  1017. add 1 to item 3 of startdate
  1018. doMenu "Copy Card"
  1019. doMenu "Paste Card"
  1020. put empty into card field 1
  1021. put empty into card field 2
  1022. put empty into card field 3
  1023. put empty into card field 4
  1024. convert startdate to long date
  1025. put startdate into field "date" of last card
  1026. show card button 1
  1027. set locktext of card field 1 to false
  1028. set locktext of card field 2 to false
  1029. end mouseUp
  1030.  
  1031.  
  1032. </script>
  1033.     </part>
  1034.     <part>
  1035.         <id>11</id>
  1036.         <type>button</type>
  1037.         <visible> <true /> </visible>
  1038.         <reserved5> 0 </reserved5>
  1039.         <reserved4> 0 </reserved4>
  1040.         <reserved3> 0 </reserved3>
  1041.         <reserved2> 0 </reserved2>
  1042.         <reserved1> 0 </reserved1>
  1043.         <enabled> <true /> </enabled>
  1044.         <rect>
  1045.             <left>242</left>
  1046.             <top>320</top>
  1047.             <right>277</right>
  1048.             <bottom>342</bottom>
  1049.         </rect>
  1050.         <style>shadow</style>
  1051.         <showName> <false /> </showName>
  1052.         <highlight> <false /> </highlight>
  1053.         <autoHighlight> <false /> </autoHighlight>
  1054.         <sharedHighlight> <true /> </sharedHighlight>
  1055.         <family>0</family>
  1056.         <titleWidth>0</titleWidth>
  1057.         <icon>2162</icon>
  1058.         <textAlign>center</textAlign>
  1059.         <font>Chicago</font>
  1060.         <textSize>12</textSize>
  1061.         <textStyle>plain</textStyle>
  1062.         <name>New Button</name>
  1063.         <script>on mouseUp
  1064. go to first card
  1065. end mouseUp
  1066. </script>
  1067.     </part>
  1068.     <part>
  1069.         <id>12</id>
  1070.         <type>field</type>
  1071.         <visible> <true /> </visible>
  1072.         <dontWrap> <false /> </dontWrap>
  1073.         <dontSearch> <false /> </dontSearch>
  1074.         <sharedText> <false /> </sharedText>
  1075.         <fixedLineHeight> <true /> </fixedLineHeight>
  1076.         <autoTab> <false /> </autoTab>
  1077.         <lockText> <true /> </lockText>
  1078.         <rect>
  1079.             <left>199</left>
  1080.             <top>52</top>
  1081.             <right>271</right>
  1082.             <bottom>308</bottom>
  1083.         </rect>
  1084.         <style>rectangle</style>
  1085.         <autoSelect> <false /> </autoSelect>
  1086.         <showLines> <true /> </showLines>
  1087.         <wideMargins> <false /> </wideMargins>
  1088.         <multipleLines> <false /> </multipleLines>
  1089.         <reservedFamily> 0 </reservedFamily>
  1090.         <titleWidth>0</titleWidth>
  1091.         <icon>0</icon>
  1092.         <textAlign>right</textAlign>
  1093.         <font>Geneva</font>
  1094.         <textSize>9</textSize>
  1095.         <textStyle>plain</textStyle>
  1096.         <textHeight>12</textHeight>
  1097.         <name></name>
  1098.         <script>on closeField
  1099. set the numberFormat to "#.00"
  1100. set the cursor to 4
  1101.  
  1102.  
  1103. --Total Lunch
  1104. put line 3 of card field 1 + line 6 of card field 1 into ¬¨
  1105. line 10 of card field 1
  1106.  
  1107. --Total Dinner
  1108. put line 4 of card field 1 + line 7 of card field 1 into ¬¨
  1109. line 11 of card field 1
  1110.  
  1111. --Total Food
  1112. put line 2 of card field 1 + line 3 of card field 1¬¨
  1113. + line 4 of card field 1 into line 13 of card field 1
  1114.  
  1115. --Total Alcohol
  1116. put line 6 of card field 1 + line 7 of card field 1 into ¬¨
  1117. line 14 of card field 1
  1118.  
  1119. --Total Sales
  1120. put line 13 of card field 1 + line 14 of card field 1 into ¬¨
  1121. line 16 of card field 1
  1122.  
  1123. --Total Payroll
  1124. put line 18 of card field 1 + line 19 of card field 1¬¨
  1125. + line 20 of card field 1 into line 21 of card field 1
  1126.  
  1127. -----------------------------------------------------------------------
  1128. --Month to Date
  1129. --Line 2
  1130. Put line 2 of card field 1 + line 2 of card field 3 of previous card¬¨
  1131. into line 2 of card field 3
  1132.  
  1133. --Line 3
  1134. Put line 3 of card field 1 + line 3 of card field 3 of previous card¬¨
  1135. into line 3 of card field 3
  1136.  
  1137. --Line 4
  1138. Put line 4 of card field 1 + line 4 of card field 3 of previous card¬¨
  1139. into line 4 of card field 3
  1140.  
  1141. --Line 6
  1142. Put line 6 of card field 1 + line 6 of card field 3 of previous card¬¨
  1143. into line 6 of card field 3
  1144.  
  1145. --Line 7
  1146. Put line 7 of card field 1 + line 7 of card field 3 of previous card¬¨
  1147. into line 7 of card field 3
  1148.  
  1149. --Line 10
  1150. Put line 10 of card field 1 + line 10 of card field 3 of previous card¬¨
  1151. into line 10 of card field 3
  1152.  
  1153. --Line 11
  1154. Put line 11 of card field 1 + line 11 of card field 3 of previous card¬¨
  1155. into line 11 of card field 3
  1156.  
  1157. --Line 13
  1158. Put line 13 of card field 1 + line 13 of card field 3 of previous card¬¨
  1159. into line 13 of card field 3
  1160.  
  1161. --Line 14
  1162. Put line 14 of card field 1 + line 14 of card field 3 of previous card¬¨
  1163. into line 14 of card field 3
  1164.  
  1165. --Line 16
  1166. Put line 16 of card field 1 + line 16 of card field 3 of previous card¬¨
  1167. into line 16 of card field 3
  1168.  
  1169. --Line 18
  1170. Put line 18 of card field 1 + line 18 of card field 3 of previous card¬¨
  1171. into line 18 of card field 3
  1172.  
  1173. --Line 19
  1174. Put line 19 of card field 1 + line 19 of card field 3 of previous card¬¨
  1175. into line 19 of card field 3
  1176.  
  1177. --Line 20
  1178. Put line 20 of card field 1 + line 20 of card field 3 of previous card¬¨
  1179. into line 20 of card field 3
  1180.  
  1181. --Line 21
  1182. Put line 21 of card field 1 + line 21 of card field 3 of previous card¬¨
  1183. into line 21 of card field 3
  1184.  
  1185.  
  1186. -----------------------------------------------------------------------
  1187. --Year to Date
  1188. --Line 2
  1189. Put line 2 of card field 1 + line 2 of card field 4 of previous card¬¨
  1190. into line 2 of card field 4
  1191.  
  1192. --Line 3
  1193. Put line 3 of card field 1 + line 3 of card field 4 of previous card¬¨
  1194. into line 3 of card field 4
  1195.  
  1196. --Line 4
  1197. Put line 4 of card field 1 + line 4 of card field 4 of previous card¬¨
  1198. into line 4 of card field 4
  1199.  
  1200. --Line 6
  1201. Put line 6 of card field 1 + line 6 of card field 4 of previous card¬¨
  1202. into line 6 of card field 4
  1203.  
  1204. --Line 7
  1205. Put line 7 of card field 1 + line 7 of card field 4 of previous card¬¨
  1206. into line 7 of card field 4
  1207.  
  1208. --Line 10
  1209. Put line 10 of card field 1 + line 10 of card field 4 of previous card¬¨
  1210. into line 10 of card field 4
  1211.  
  1212. --Line 11
  1213. Put line 11 of card field 1 + line 11 of card field 4 of previous card¬¨
  1214. into line 11 of card field 4
  1215.  
  1216. --Line 13
  1217. Put line 13 of card field 1 + line 13 of card field 4 of previous card¬¨
  1218. into line 13 of card field 4
  1219.  
  1220. --Line 14
  1221. Put line 14 of card field 1 + line 14 of card field 4 of previous card¬¨
  1222. into line 14 of card field 4
  1223.  
  1224. --Line 16
  1225. Put line 16 of card field 1 + line 16 of card field 4 of previous card¬¨
  1226. into line 16 of card field 4
  1227.  
  1228. --Line 18
  1229. Put line 18 of card field 1 + line 18 of card field 4 of previous card¬¨
  1230. into line 18 of card field 4
  1231.  
  1232. --Line 19
  1233. Put line 19 of card field 1 + line 19 of card field 4 of previous card¬¨
  1234. into line 19 of card field 4
  1235.  
  1236. --Line 20
  1237. Put line 20 of card field 1 + line 20 of card field 4 of previous card¬¨
  1238. into line 20 of card field 4
  1239.  
  1240. --Line 21
  1241. Put line 21 of card field 1 + line 21 of card field 4 of previous card¬¨
  1242. into line 21 of card field 4
  1243.  
  1244.  
  1245. end closeField</script>
  1246.     </part>
  1247.     <part>
  1248.         <id>13</id>
  1249.         <type>field</type>
  1250.         <visible> <true /> </visible>
  1251.         <dontWrap> <false /> </dontWrap>
  1252.         <dontSearch> <false /> </dontSearch>
  1253.         <sharedText> <false /> </sharedText>
  1254.         <fixedLineHeight> <true /> </fixedLineHeight>
  1255.         <autoTab> <false /> </autoTab>
  1256.         <lockText> <true /> </lockText>
  1257.         <rect>
  1258.             <left>282</left>
  1259.             <top>52</top>
  1260.             <right>351</right>
  1261.             <bottom>308</bottom>
  1262.         </rect>
  1263.         <style>rectangle</style>
  1264.         <autoSelect> <false /> </autoSelect>
  1265.         <showLines> <true /> </showLines>
  1266.         <wideMargins> <false /> </wideMargins>
  1267.         <multipleLines> <false /> </multipleLines>
  1268.         <reservedFamily> 0 </reservedFamily>
  1269.         <titleWidth>0</titleWidth>
  1270.         <icon>0</icon>
  1271.         <textAlign>right</textAlign>
  1272.         <font>Geneva</font>
  1273.         <textSize>9</textSize>
  1274.         <textStyle>plain</textStyle>
  1275.         <textHeight>12</textHeight>
  1276.         <name></name>
  1277.         <script>on closeField
  1278. set the numberFormat to "#.00"
  1279. set the cursor to 4
  1280.  
  1281. --Total Lunch
  1282. put line 3 of card field 2 + line 6 of card field 2 into ¬¨
  1283. line 10 of card field 2
  1284.  
  1285. --Total Dinner
  1286. put line 4 of card field 2 + line 7 of card field 2 into ¬¨
  1287. line 11 of card field 2
  1288.  
  1289. --Total Food
  1290. put line 2 of card field 2 + line 3 of card field 2¬¨
  1291. + line 4 of card field 2 into line 13 of card field 2
  1292.  
  1293. --Total Alcohol
  1294. put line 6 of card field 2 + line 7 of card field 2 into ¬¨
  1295. line 14 of card field 2
  1296.  
  1297. --Total Sales
  1298. put line 13 of card field 2 + line 14 of card field 2 into ¬¨
  1299. line 16 of card field 2
  1300.  
  1301. --Total Payroll
  1302. put line 18 of card field 2 + line 19 of card field 2¬¨
  1303. + line 20 of card field 2 into line 21 of card field 2
  1304.  
  1305. end closeField</script>
  1306.     </part>
  1307.     <part>
  1308.         <id>14</id>
  1309.         <type>field</type>
  1310.         <visible> <true /> </visible>
  1311.         <dontWrap> <false /> </dontWrap>
  1312.         <dontSearch> <false /> </dontSearch>
  1313.         <sharedText> <false /> </sharedText>
  1314.         <fixedLineHeight> <true /> </fixedLineHeight>
  1315.         <autoTab> <false /> </autoTab>
  1316.         <lockText> <true /> </lockText>
  1317.         <rect>
  1318.             <left>363</left>
  1319.             <top>52</top>
  1320.             <right>432</right>
  1321.             <bottom>308</bottom>
  1322.         </rect>
  1323.         <style>rectangle</style>
  1324.         <autoSelect> <false /> </autoSelect>
  1325.         <showLines> <true /> </showLines>
  1326.         <wideMargins> <false /> </wideMargins>
  1327.         <multipleLines> <false /> </multipleLines>
  1328.         <reservedFamily> 0 </reservedFamily>
  1329.         <titleWidth>0</titleWidth>
  1330.         <icon>0</icon>
  1331.         <textAlign>right</textAlign>
  1332.         <font>Geneva</font>
  1333.         <textSize>9</textSize>
  1334.         <textStyle>plain</textStyle>
  1335.         <textHeight>12</textHeight>
  1336.         <name></name>
  1337.         <script></script>
  1338.     </part>
  1339.     <part>
  1340.         <id>15</id>
  1341.         <type>field</type>
  1342.         <visible> <true /> </visible>
  1343.         <dontWrap> <false /> </dontWrap>
  1344.         <dontSearch> <false /> </dontSearch>
  1345.         <sharedText> <false /> </sharedText>
  1346.         <fixedLineHeight> <true /> </fixedLineHeight>
  1347.         <autoTab> <false /> </autoTab>
  1348.         <lockText> <true /> </lockText>
  1349.         <rect>
  1350.             <left>441</left>
  1351.             <top>52</top>
  1352.             <right>510</right>
  1353.             <bottom>308</bottom>
  1354.         </rect>
  1355.         <style>rectangle</style>
  1356.         <autoSelect> <false /> </autoSelect>
  1357.         <showLines> <true /> </showLines>
  1358.         <wideMargins> <false /> </wideMargins>
  1359.         <multipleLines> <false /> </multipleLines>
  1360.         <reservedFamily> 0 </reservedFamily>
  1361.         <titleWidth>0</titleWidth>
  1362.         <icon>0</icon>
  1363.         <textAlign>right</textAlign>
  1364.         <font>Geneva</font>
  1365.         <textSize>9</textSize>
  1366.         <textStyle>plain</textStyle>
  1367.         <textHeight>12</textHeight>
  1368.         <name></name>
  1369.         <script>on closeField
  1370. set the numberFormat to "#.00"
  1371.  
  1372. --Total Lunch
  1373. put line 3 of field ID 13 + line 6 of field ID 13 into ¬¨
  1374. line 10 of field ID 13
  1375.  
  1376. --Total Dinner
  1377. put line 4 of field ID 13 + line 7 of field ID 13 into ¬¨
  1378. line 11 of field ID 13
  1379.  
  1380. --Total Food
  1381. put line 2 of field ID 13 + line 3 of field ID 13¬¨
  1382. + line 4 of field ID 13 into line 13 of field ID 13
  1383.  
  1384. --Total Alcohol
  1385. put line 6 of field ID 13 + line 7 of field ID 13 into ¬¨
  1386. line 14 of field ID 13
  1387.  
  1388. --Total Sales
  1389. put line 13 of field ID 13 + line 14 of field ID 13 into ¬¨
  1390. line 16 of field ID 13
  1391.  
  1392.  
  1393. --Month to Date
  1394. --Line 2
  1395. Put line 2 of field ID 6 + line 2 of field ID 12 of previous card¬¨
  1396. into line 2 of field ID 12
  1397.  
  1398.  
  1399.  
  1400. --Year to Date
  1401. --Line 2
  1402. Put line 2 of field ID 6 + line 2 of field ID 13 of previous card¬¨
  1403. into line 2 of field ID 13
  1404.  
  1405.  
  1406. end closeField
  1407. </script>
  1408.     </part>
  1409.     <part>
  1410.         <id>20</id>
  1411.         <type>field</type>
  1412.         <visible> <false /> </visible>
  1413.         <dontWrap> <false /> </dontWrap>
  1414.         <dontSearch> <false /> </dontSearch>
  1415.         <sharedText> <false /> </sharedText>
  1416.         <fixedLineHeight> <true /> </fixedLineHeight>
  1417.         <autoTab> <false /> </autoTab>
  1418.         <lockText> <false /> </lockText>
  1419.         <rect>
  1420.             <left>199</left>
  1421.             <top>256</top>
  1422.             <right>273</right>
  1423.             <bottom>309</bottom>
  1424.         </rect>
  1425.         <style>shadow</style>
  1426.         <autoSelect> <false /> </autoSelect>
  1427.         <showLines> <true /> </showLines>
  1428.         <wideMargins> <false /> </wideMargins>
  1429.         <multipleLines> <false /> </multipleLines>
  1430.         <reservedFamily> 0 </reservedFamily>
  1431.         <titleWidth>0</titleWidth>
  1432.         <icon>0</icon>
  1433.         <textAlign>right</textAlign>
  1434.         <font>Geneva</font>
  1435.         <textSize>9</textSize>
  1436.         <textStyle>plain</textStyle>
  1437.         <textHeight>12</textHeight>
  1438.         <name></name>
  1439.         <script></script>
  1440.     </part>
  1441.     <part>
  1442.         <id>16</id>
  1443.         <type>button</type>
  1444.         <visible> <true /> </visible>
  1445.         <reserved5> 0 </reserved5>
  1446.         <reserved4> 0 </reserved4>
  1447.         <reserved3> 0 </reserved3>
  1448.         <reserved2> 0 </reserved2>
  1449.         <reserved1> 0 </reserved1>
  1450.         <enabled> <true /> </enabled>
  1451.         <rect>
  1452.             <left>271</left>
  1453.             <top>256</top>
  1454.             <right>284</right>
  1455.             <bottom>307</bottom>
  1456.         </rect>
  1457.         <style>transparent</style>
  1458.         <showName> <true /> </showName>
  1459.         <highlight> <false /> </highlight>
  1460.         <autoHighlight> <true /> </autoHighlight>
  1461.         <sharedHighlight> <true /> </sharedHighlight>
  1462.         <family>0</family>
  1463.         <titleWidth>0</titleWidth>
  1464.         <icon>0</icon>
  1465.         <textAlign>center</textAlign>
  1466.         <font>Chicago</font>
  1467.         <textSize>12</textSize>
  1468.         <textStyle>plain</textStyle>
  1469.         <name>%</name>
  1470.         <script>on mouseUp
  1471. set cursor to 4
  1472. set the numberFormat to "#.0"
  1473.  
  1474. put 100 * line 18 of card field 1 / line 16¬¨
  1475. of card field 1 & " %  " into line 1 of card field ID 20
  1476.  
  1477. put 100 * line 19 of card field 1 / line 16¬¨
  1478. of card field 1 & " %  " into line 2 of card field ID 20
  1479.  
  1480. put 100 * line 20 of card field 1 / line 16¬¨
  1481. of card field 1 & " %  " into line 3 of card field ID 20
  1482.  
  1483. put 100 * line 21 of card field 1 / line 16¬¨
  1484. of card field 1 & " %  " into line 4 of card field ID 20
  1485.  
  1486. ----------------------------------------------------------------------
  1487.  
  1488.  
  1489. put 100 * line 18 of card field 2 / line 16¬¨
  1490. of card field 2 & " %  " into line 1 of card field ID 21
  1491.  
  1492. put 100 * line 19 of card field 2 / line 16¬¨
  1493. of card field 2 & " %  " into line 2 of card field ID 21
  1494.  
  1495. put 100 * line 20 of card field 2 / line 16¬¨
  1496. of card field 2 & " %  " into line 3 of card field ID 21
  1497.  
  1498. put 100 * line 21 of card field 2 / line 16¬¨
  1499. of card field 2 & " %  " into line 4 of card field ID 21
  1500.  
  1501.  
  1502. show card field ID 20
  1503. show card field ID 21
  1504. hide card button ID 16
  1505. show card button ID 19
  1506. end mouseUp
  1507.  
  1508.  
  1509. </script>
  1510.     </part>
  1511.     <part>
  1512.         <id>19</id>
  1513.         <type>button</type>
  1514.         <visible> <false /> </visible>
  1515.         <reserved5> 0 </reserved5>
  1516.         <reserved4> 0 </reserved4>
  1517.         <reserved3> 0 </reserved3>
  1518.         <reserved2> 0 </reserved2>
  1519.         <reserved1> 0 </reserved1>
  1520.         <enabled> <true /> </enabled>
  1521.         <rect>
  1522.             <left>271</left>
  1523.             <top>256</top>
  1524.             <right>284</right>
  1525.             <bottom>309</bottom>
  1526.         </rect>
  1527.         <style>transparent</style>
  1528.         <showName> <true /> </showName>
  1529.         <highlight> <false /> </highlight>
  1530.         <autoHighlight> <true /> </autoHighlight>
  1531.         <sharedHighlight> <true /> </sharedHighlight>
  1532.         <family>0</family>
  1533.         <titleWidth>0</titleWidth>
  1534.         <icon>0</icon>
  1535.         <textAlign>center</textAlign>
  1536.         <font>Chicago</font>
  1537.         <textSize>12</textSize>
  1538.         <textStyle>plain</textStyle>
  1539.         <name>$</name>
  1540.         <script>on mouseUp
  1541. set cursor to 4
  1542. hide card field ID 20
  1543. hide card field ID 21
  1544. hide card button ID 19
  1545. show card button ID 16
  1546.  
  1547. end mouseUp
  1548. </script>
  1549.     </part>
  1550.     <part>
  1551.         <id>21</id>
  1552.         <type>field</type>
  1553.         <visible> <false /> </visible>
  1554.         <dontWrap> <false /> </dontWrap>
  1555.         <dontSearch> <false /> </dontSearch>
  1556.         <sharedText> <false /> </sharedText>
  1557.         <fixedLineHeight> <true /> </fixedLineHeight>
  1558.         <autoTab> <false /> </autoTab>
  1559.         <lockText> <false /> </lockText>
  1560.         <rect>
  1561.             <left>284</left>
  1562.             <top>256</top>
  1563.             <right>354</right>
  1564.             <bottom>308</bottom>
  1565.         </rect>
  1566.         <style>shadow</style>
  1567.         <autoSelect> <false /> </autoSelect>
  1568.         <showLines> <true /> </showLines>
  1569.         <wideMargins> <false /> </wideMargins>
  1570.         <multipleLines> <false /> </multipleLines>
  1571.         <reservedFamily> 0 </reservedFamily>
  1572.         <titleWidth>0</titleWidth>
  1573.         <icon>0</icon>
  1574.         <textAlign>right</textAlign>
  1575.         <font>Geneva</font>
  1576.         <textSize>9</textSize>
  1577.         <textStyle>plain</textStyle>
  1578.         <textHeight>12</textHeight>
  1579.         <name></name>
  1580.         <script>on openField
  1581. put
  1582. end openField</script>
  1583.     </part>
  1584.     <part>
  1585.         <id>22</id>
  1586.         <type>button</type>
  1587.         <visible> <true /> </visible>
  1588.         <reserved5> 0 </reserved5>
  1589.         <reserved4> 0 </reserved4>
  1590.         <reserved3> 0 </reserved3>
  1591.         <reserved2> 0 </reserved2>
  1592.         <reserved1> 0 </reserved1>
  1593.         <enabled> <true /> </enabled>
  1594.         <rect>
  1595.             <left>431</left>
  1596.             <top>257</top>
  1597.             <right>444</right>
  1598.             <bottom>308</bottom>
  1599.         </rect>
  1600.         <style>transparent</style>
  1601.         <showName> <true /> </showName>
  1602.         <highlight> <false /> </highlight>
  1603.         <autoHighlight> <true /> </autoHighlight>
  1604.         <sharedHighlight> <true /> </sharedHighlight>
  1605.         <family>0</family>
  1606.         <titleWidth>0</titleWidth>
  1607.         <icon>0</icon>
  1608.         <textAlign>center</textAlign>
  1609.         <font>Chicago</font>
  1610.         <textSize>12</textSize>
  1611.         <textStyle>plain</textStyle>
  1612.         <name>%</name>
  1613.         <script>on mouseUp
  1614. set cursor to 4
  1615. set the numberFormat to "#.0"
  1616.  
  1617. put 100 * line 18 of card field 3 / line 16¬¨
  1618. of card field 3 & " %  " into line 1 of card field ID 24
  1619.  
  1620. put 100 * line 19 of card field 3 / line 16¬¨
  1621. of card field 3 & " %  " into line 2 of card field ID 24
  1622.  
  1623. put 100 * line 20 of card field 3 / line 16¬¨
  1624. of card field 3 & " %  " into line 3 of card field ID 24
  1625.  
  1626. put 100 * line 21 of card field 3 / line 16¬¨
  1627. of card field 3 & " %  " into line 4 of card field ID 24
  1628.  
  1629. ----------------------------------------------------------------------
  1630.  
  1631.  
  1632. put 100 * line 18 of card field 4 / line 16¬¨
  1633. of card field 4 & " %  " into line 1 of card field ID 25
  1634.  
  1635. put 100 * line 19 of card field 4 / line 16¬¨
  1636. of card field 4 & " %  " into line 2 of card field ID 25
  1637.  
  1638. put 100 * line 20 of card field 4 / line 16¬¨
  1639. of card field 4 & " %  " into line 3 of card field ID 25
  1640.  
  1641. put 100 * line 21 of card field 4 / line 16¬¨
  1642. of card field 4 & " %  " into line 4 of card field ID 25
  1643.  
  1644.  
  1645. show card field ID 24
  1646. show card field ID 25
  1647. hide card button ID 22
  1648. show card button ID 23
  1649. end mouseUp
  1650.  
  1651.  
  1652. </script>
  1653.     </part>
  1654.     <part>
  1655.         <id>23</id>
  1656.         <type>button</type>
  1657.         <visible> <false /> </visible>
  1658.         <reserved5> 0 </reserved5>
  1659.         <reserved4> 0 </reserved4>
  1660.         <reserved3> 0 </reserved3>
  1661.         <reserved2> 0 </reserved2>
  1662.         <reserved1> 0 </reserved1>
  1663.         <enabled> <true /> </enabled>
  1664.         <rect>
  1665.             <left>431</left>
  1666.             <top>257</top>
  1667.             <right>444</right>
  1668.             <bottom>310</bottom>
  1669.         </rect>
  1670.         <style>transparent</style>
  1671.         <showName> <true /> </showName>
  1672.         <highlight> <false /> </highlight>
  1673.         <autoHighlight> <true /> </autoHighlight>
  1674.         <sharedHighlight> <true /> </sharedHighlight>
  1675.         <family>0</family>
  1676.         <titleWidth>0</titleWidth>
  1677.         <icon>0</icon>
  1678.         <textAlign>center</textAlign>
  1679.         <font>Chicago</font>
  1680.         <textSize>12</textSize>
  1681.         <textStyle>plain</textStyle>
  1682.         <name>$</name>
  1683.         <script>on mouseUp
  1684. set cursor to 4
  1685. hide card field ID 24
  1686. hide card field ID 25
  1687. hide card button ID 23
  1688. show card button ID 22
  1689.  
  1690. end mouseUp
  1691. </script>
  1692.     </part>
  1693.     <part>
  1694.         <id>24</id>
  1695.         <type>field</type>
  1696.         <visible> <false /> </visible>
  1697.         <dontWrap> <false /> </dontWrap>
  1698.         <dontSearch> <false /> </dontSearch>
  1699.         <sharedText> <false /> </sharedText>
  1700.         <fixedLineHeight> <true /> </fixedLineHeight>
  1701.         <autoTab> <false /> </autoTab>
  1702.         <lockText> <false /> </lockText>
  1703.         <rect>
  1704.             <left>360</left>
  1705.             <top>256</top>
  1706.             <right>434</right>
  1707.             <bottom>309</bottom>
  1708.         </rect>
  1709.         <style>shadow</style>
  1710.         <autoSelect> <false /> </autoSelect>
  1711.         <showLines> <true /> </showLines>
  1712.         <wideMargins> <false /> </wideMargins>
  1713.         <multipleLines> <false /> </multipleLines>
  1714.         <reservedFamily> 0 </reservedFamily>
  1715.         <titleWidth>0</titleWidth>
  1716.         <icon>0</icon>
  1717.         <textAlign>right</textAlign>
  1718.         <font>Geneva</font>
  1719.         <textSize>9</textSize>
  1720.         <textStyle>plain</textStyle>
  1721.         <textHeight>12</textHeight>
  1722.         <name></name>
  1723.         <script></script>
  1724.     </part>
  1725.     <part>
  1726.         <id>25</id>
  1727.         <type>field</type>
  1728.         <visible> <false /> </visible>
  1729.         <dontWrap> <false /> </dontWrap>
  1730.         <dontSearch> <false /> </dontSearch>
  1731.         <sharedText> <false /> </sharedText>
  1732.         <fixedLineHeight> <true /> </fixedLineHeight>
  1733.         <autoTab> <false /> </autoTab>
  1734.         <lockText> <false /> </lockText>
  1735.         <rect>
  1736.             <left>441</left>
  1737.             <top>256</top>
  1738.             <right>511</right>
  1739.             <bottom>308</bottom>
  1740.         </rect>
  1741.         <style>shadow</style>
  1742.         <autoSelect> <false /> </autoSelect>
  1743.         <showLines> <true /> </showLines>
  1744.         <wideMargins> <false /> </wideMargins>
  1745.         <multipleLines> <false /> </multipleLines>
  1746.         <reservedFamily> 0 </reservedFamily>
  1747.         <titleWidth>0</titleWidth>
  1748.         <icon>0</icon>
  1749.         <textAlign>right</textAlign>
  1750.         <font>Geneva</font>
  1751.         <textSize>9</textSize>
  1752.         <textStyle>plain</textStyle>
  1753.         <textHeight>12</textHeight>
  1754.         <name></name>
  1755.         <script>on openField
  1756. put
  1757. end openField</script>
  1758.     </part>
  1759.     <content>
  1760.         <layer>background</layer>
  1761.         <id>5</id>
  1762.         <text>Sunday, November 1, 1987</text>
  1763.     </content>
  1764.     <content>
  1765.         <layer>background</layer>
  1766.         <id>4</id>
  1767.         <text>
  1768. Breakfast Food Sales
  1769. Lunch Food Sales
  1770. Dinner Food Sales
  1771.  
  1772. Lunch Alcohol Sales
  1773. Dinner Alcohol Sales
  1774.  
  1775.  
  1776.      Total Lunch
  1777.      Total Dinner
  1778.  
  1779.      Total Food
  1780.      Total Alcohol
  1781.  
  1782.                            Total Sales
  1783.  
  1784. Management & Administrative Payroll
  1785. Kitchen Payroll
  1786. Service Payroll
  1787. Total Payroll</text>
  1788.     </content>
  1789.     <content>
  1790.         <layer>card</layer>
  1791.         <id>12</id>
  1792.         <text>
  1793. 352.80
  1794. 876.55
  1795. 1234.56
  1796.  
  1797. 48.01
  1798. 346.86
  1799.  
  1800.  
  1801. 924.56
  1802. 1581.42
  1803.  
  1804. 2463.91
  1805. 394.87
  1806.  
  1807. 2858.78
  1808.  
  1809. 340.90
  1810. 276.34
  1811. 145.54
  1812. 762.78</text>
  1813.     </content>
  1814.     <content>
  1815.         <layer>card</layer>
  1816.         <id>13</id>
  1817.         <text>
  1818. 234.53
  1819. 982.32
  1820. 999.99
  1821.  
  1822. 72.30
  1823. 245.32
  1824.  
  1825.  
  1826. 1054.62
  1827. 1245.31
  1828.  
  1829. 2216.84
  1830. 317.62
  1831.  
  1832. 2534.46
  1833.  
  1834. 300.01
  1835. 243.34
  1836. 123.43
  1837. 666.78</text>
  1838.     </content>
  1839.     <content>
  1840.         <layer>card</layer>
  1841.         <id>14</id>
  1842.         <text>
  1843. 352.80
  1844. 876.55
  1845. 1234.56
  1846.  
  1847. 48.01
  1848. 346.86
  1849.  
  1850.  
  1851. 924.56
  1852. 1581.42
  1853.  
  1854. 2463.91
  1855. 394.87
  1856.  
  1857. 2858.78
  1858.  
  1859. 340.90
  1860. 276.34
  1861. 145.54
  1862. 762.78</text>
  1863.     </content>
  1864.     <content>
  1865.         <layer>card</layer>
  1866.         <id>15</id>
  1867.         <text>
  1868. 76896.00
  1869. 146554.88
  1870. 544913.54
  1871.  
  1872. 56837.46
  1873. 235132.98
  1874.  
  1875.  
  1876. 203392.34
  1877. 780046.52
  1878.  
  1879. 768364.42
  1880. 291970.44
  1881.  
  1882. 1060334.86
  1883.  
  1884. 105683.10
  1885. 122252.66
  1886. 55800.43
  1887. 283736.19</text>
  1888.     </content>
  1889.     <content>
  1890.         <layer>card</layer>
  1891.         <id>20</id>
  1892.         <text>11.9 %  
  1893. 9.7 %  
  1894. 5.1 %  
  1895. 26.7 %  </text>
  1896.     </content>
  1897.     <content>
  1898.         <layer>card</layer>
  1899.         <id>21</id>
  1900.         <text>11.8 %  
  1901. 9.6 %  
  1902. 4.9 %  
  1903. 26.3 %  </text>
  1904.     </content>
  1905.     <content>
  1906.         <layer>card</layer>
  1907.         <id>24</id>
  1908.         <text>11.9 %  
  1909. 9.7 %  
  1910. 5.1 %  
  1911. 26.7 %  </text>
  1912.     </content>
  1913.     <content>
  1914.         <layer>card</layer>
  1915.         <id>25</id>
  1916.         <text>10.0 %  
  1917. 11.5 %  
  1918. 5.3 %  
  1919. 26.8 %  </text>
  1920.     </content>
  1921.     <name></name>
  1922.     <script>on startup
  1923. if this card is the last card then
  1924. show bkgnd button ID 11
  1925. end if
  1926. end startup
  1927. </script>
  1928. </card>
  1929.  
  1930.  
  1931. card_5501.xml
  1932. <?xml version="1.0" encoding="utf-8" ?>
  1933. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1934. <card>
  1935.     <id>5501</id>
  1936.     <filler1>0</filler1>
  1937.     <bitmap>BMAP_4231.pbm</bitmap>
  1938.     <cantDelete> <false /> </cantDelete>
  1939.     <showPict> <true /> </showPict>
  1940.     <dontSearch> <false /> </dontSearch>
  1941.     <owner>5190</owner>
  1942.     <link rel="stylesheet" type="text/css" href="stylesheet_2288.css" />
  1943.     <part>
  1944.         <id>3</id>
  1945.         <type>field</type>
  1946.         <visible> <true /> </visible>
  1947.         <dontWrap> <false /> </dontWrap>
  1948.         <dontSearch> <false /> </dontSearch>
  1949.         <sharedText> <false /> </sharedText>
  1950.         <fixedLineHeight> <true /> </fixedLineHeight>
  1951.         <autoTab> <false /> </autoTab>
  1952.         <lockText> <true /> </lockText>
  1953.         <rect>
  1954.             <left>205</left>
  1955.             <top>52</top>
  1956.             <right>274</right>
  1957.             <bottom>308</bottom>
  1958.         </rect>
  1959.         <style>rectangle</style>
  1960.         <autoSelect> <false /> </autoSelect>
  1961.         <showLines> <true /> </showLines>
  1962.         <wideMargins> <false /> </wideMargins>
  1963.         <multipleLines> <false /> </multipleLines>
  1964.         <reservedFamily> 0 </reservedFamily>
  1965.         <titleWidth>0</titleWidth>
  1966.         <icon>0</icon>
  1967.         <textAlign>right</textAlign>
  1968.         <font>Geneva</font>
  1969.         <textSize>9</textSize>
  1970.         <textStyle>plain</textStyle>
  1971.         <textHeight>12</textHeight>
  1972.         <name></name>
  1973.         <script></script>
  1974.     </part>
  1975.     <part>
  1976.         <id>5</id>
  1977.         <type>button</type>
  1978.         <visible> <true /> </visible>
  1979.         <reserved5> 0 </reserved5>
  1980.         <reserved4> 0 </reserved4>
  1981.         <reserved3> 0 </reserved3>
  1982.         <reserved2> 0 </reserved2>
  1983.         <reserved1> 0 </reserved1>
  1984.         <enabled> <true /> </enabled>
  1985.         <rect>
  1986.             <left>156</left>
  1987.             <top>318</top>
  1988.             <right>182</right>
  1989.             <bottom>341</bottom>
  1990.         </rect>
  1991.         <style>transparent</style>
  1992.         <showName> <false /> </showName>
  1993.         <highlight> <false /> </highlight>
  1994.         <autoHighlight> <false /> </autoHighlight>
  1995.         <sharedHighlight> <true /> </sharedHighlight>
  1996.         <family>0</family>
  1997.         <titleWidth>0</titleWidth>
  1998.         <icon>1014</icon>
  1999.         <textAlign>center</textAlign>
  2000.         <font>Chicago</font>
  2001.         <textSize>12</textSize>
  2002.         <textStyle>plain</textStyle>
  2003.         <name>Prev</name>
  2004.         <script>on mouseUp
  2005. go to prev card
  2006. end mouseUp
  2007. </script>
  2008.     </part>
  2009.     <part>
  2010.         <id>8</id>
  2011.         <type>button</type>
  2012.         <visible> <true /> </visible>
  2013.         <reserved5> 0 </reserved5>
  2014.         <reserved4> 0 </reserved4>
  2015.         <reserved3> 0 </reserved3>
  2016.         <reserved2> 0 </reserved2>
  2017.         <reserved1> 0 </reserved1>
  2018.         <enabled> <true /> </enabled>
  2019.         <rect>
  2020.             <left>242</left>
  2021.             <top>320</top>
  2022.             <right>277</right>
  2023.             <bottom>342</bottom>
  2024.         </rect>
  2025.         <style>shadow</style>
  2026.         <showName> <false /> </showName>
  2027.         <highlight> <false /> </highlight>
  2028.         <autoHighlight> <false /> </autoHighlight>
  2029.         <sharedHighlight> <true /> </sharedHighlight>
  2030.         <family>0</family>
  2031.         <titleWidth>0</titleWidth>
  2032.         <icon>2162</icon>
  2033.         <textAlign>center</textAlign>
  2034.         <font>Chicago</font>
  2035.         <textSize>12</textSize>
  2036.         <textStyle>plain</textStyle>
  2037.         <name>New Button</name>
  2038.         <script>on mouseUp
  2039. go to first card
  2040. end mouseUp
  2041. </script>
  2042.     </part>
  2043.     <part>
  2044.         <id>9</id>
  2045.         <type>button</type>
  2046.         <visible> <true /> </visible>
  2047.         <reserved5> 0 </reserved5>
  2048.         <reserved4> 0 </reserved4>
  2049.         <reserved3> 0 </reserved3>
  2050.         <reserved2> 0 </reserved2>
  2051.         <reserved1> 0 </reserved1>
  2052.         <enabled> <true /> </enabled>
  2053.         <rect>
  2054.             <left>317</left>
  2055.             <top>319</top>
  2056.             <right>342</right>
  2057.             <bottom>342</bottom>
  2058.         </rect>
  2059.         <style>transparent</style>
  2060.         <showName> <false /> </showName>
  2061.         <highlight> <false /> </highlight>
  2062.         <autoHighlight> <false /> </autoHighlight>
  2063.         <sharedHighlight> <true /> </sharedHighlight>
  2064.         <family>0</family>
  2065.         <titleWidth>0</titleWidth>
  2066.         <icon>1013</icon>
  2067.         <textAlign>center</textAlign>
  2068.         <font>Chicago</font>
  2069.         <textSize>12</textSize>
  2070.         <textStyle>plain</textStyle>
  2071.         <name>Next</name>
  2072.         <script>on mouseUp
  2073. go to next card
  2074. end mouseUp
  2075. </script>
  2076.     </part>
  2077.     <part>
  2078.         <id>12</id>
  2079.         <type>field</type>
  2080.         <visible> <true /> </visible>
  2081.         <dontWrap> <false /> </dontWrap>
  2082.         <dontSearch> <false /> </dontSearch>
  2083.         <sharedText> <false /> </sharedText>
  2084.         <fixedLineHeight> <true /> </fixedLineHeight>
  2085.         <autoTab> <false /> </autoTab>
  2086.         <lockText> <true /> </lockText>
  2087.         <rect>
  2088.             <left>282</left>
  2089.             <top>52</top>
  2090.             <right>351</right>
  2091.             <bottom>308</bottom>
  2092.         </rect>
  2093.         <style>rectangle</style>
  2094.         <autoSelect> <false /> </autoSelect>
  2095.         <showLines> <true /> </showLines>
  2096.         <wideMargins> <false /> </wideMargins>
  2097.         <multipleLines> <false /> </multipleLines>
  2098.         <reservedFamily> 0 </reservedFamily>
  2099.         <titleWidth>0</titleWidth>
  2100.         <icon>0</icon>
  2101.         <textAlign>right</textAlign>
  2102.         <font>Geneva</font>
  2103.         <textSize>9</textSize>
  2104.         <textStyle>plain</textStyle>
  2105.         <textHeight>12</textHeight>
  2106.         <name></name>
  2107.         <script></script>
  2108.     </part>
  2109.     <part>
  2110.         <id>13</id>
  2111.         <type>field</type>
  2112.         <visible> <true /> </visible>
  2113.         <dontWrap> <false /> </dontWrap>
  2114.         <dontSearch> <false /> </dontSearch>
  2115.         <sharedText> <false /> </sharedText>
  2116.         <fixedLineHeight> <true /> </fixedLineHeight>
  2117.         <autoTab> <false /> </autoTab>
  2118.         <lockText> <true /> </lockText>
  2119.         <rect>
  2120.             <left>364</left>
  2121.             <top>52</top>
  2122.             <right>433</right>
  2123.             <bottom>308</bottom>
  2124.         </rect>
  2125.         <style>rectangle</style>
  2126.         <autoSelect> <false /> </autoSelect>
  2127.         <showLines> <true /> </showLines>
  2128.         <wideMargins> <false /> </wideMargins>
  2129.         <multipleLines> <false /> </multipleLines>
  2130.         <reservedFamily> 0 </reservedFamily>
  2131.         <titleWidth>0</titleWidth>
  2132.         <icon>0</icon>
  2133.         <textAlign>right</textAlign>
  2134.         <font>Geneva</font>
  2135.         <textSize>9</textSize>
  2136.         <textStyle>plain</textStyle>
  2137.         <textHeight>12</textHeight>
  2138.         <name></name>
  2139.         <script>on closeField
  2140. set the numberFormat to "#.00"
  2141.  
  2142. --Total Lunch
  2143. put line 3 of card field 3 + line 6 of card field 3 into ¬¨
  2144. line 10 of card field 3
  2145.  
  2146. --Total Dinner
  2147. put line 4 of card field 3 + line 7 of card field 3 into ¬¨
  2148. line 11 of card field 3
  2149.  
  2150. --Total Food
  2151. put line 2 of card field 3 + line 3 of card field 3¬¨
  2152. + line 4 of card field 3 into line 13 of card field 3
  2153.  
  2154. --Total Alcohol
  2155. put line 6 of card field 3 + line 7 of card field 3 into ¬¨
  2156. line 14 of card field 3
  2157.  
  2158. --Total Sales
  2159. put line 13 of card field 3 + line 14 of card field 3 into ¬¨
  2160. line 16 of card field 3
  2161.  
  2162. --Total Payroll
  2163. put line 18 of card field 3 + line 19 of card field 3¬¨
  2164. + line 20 of card field 3 into line 21 of card field 3
  2165.  
  2166.  
  2167. end closefield
  2168. </script>
  2169.     </part>
  2170.     <part>
  2171.         <id>14</id>
  2172.         <type>field</type>
  2173.         <visible> <true /> </visible>
  2174.         <dontWrap> <false /> </dontWrap>
  2175.         <dontSearch> <false /> </dontSearch>
  2176.         <sharedText> <false /> </sharedText>
  2177.         <fixedLineHeight> <true /> </fixedLineHeight>
  2178.         <autoTab> <false /> </autoTab>
  2179.         <lockText> <true /> </lockText>
  2180.         <rect>
  2181.             <left>438</left>
  2182.             <top>52</top>
  2183.             <right>507</right>
  2184.             <bottom>308</bottom>
  2185.         </rect>
  2186.         <style>rectangle</style>
  2187.         <autoSelect> <false /> </autoSelect>
  2188.         <showLines> <true /> </showLines>
  2189.         <wideMargins> <false /> </wideMargins>
  2190.         <multipleLines> <false /> </multipleLines>
  2191.         <reservedFamily> 0 </reservedFamily>
  2192.         <titleWidth>0</titleWidth>
  2193.         <icon>0</icon>
  2194.         <textAlign>right</textAlign>
  2195.         <font>Geneva</font>
  2196.         <textSize>9</textSize>
  2197.         <textStyle>plain</textStyle>
  2198.         <textHeight>12</textHeight>
  2199.         <name></name>
  2200.         <script>on closeField
  2201. set the numberFormat to "#.00"
  2202.  
  2203. --Total Lunch
  2204. put line 3 of card field 4 + line 6 of card field 4 into ¬¨
  2205. line 10 of card field 4
  2206.  
  2207. --Total Dinner
  2208. put line 4 of card field 4 + line 7 of card field 4 into ¬¨
  2209. line 11 of card field 4
  2210.  
  2211. --Total Food
  2212. put line 2 of card field 4 + line 3 of card field 4¬¨
  2213. + line 4 of card field 4 into line 13 of card field 4
  2214.  
  2215. --Total Alcohol
  2216. put line 6 of card field 4 + line 7 of card field 4 into ¬¨
  2217. line 14 of card field 4
  2218.  
  2219. --Total Sales
  2220. put line 13 of card field 4 + line 14 of card field 4 into ¬¨
  2221. line 16 of card field 4
  2222.  
  2223. --Total Payroll
  2224. put line 18 of card field 4 + line 19 of card field 4¬¨
  2225. + line 20 of card field 4 into line 21 of card field 4
  2226.  
  2227. end closefield
  2228. </script>
  2229.     </part>
  2230.     <part>
  2231.         <id>15</id>
  2232.         <type>field</type>
  2233.         <visible> <true /> </visible>
  2234.         <dontWrap> <false /> </dontWrap>
  2235.         <dontSearch> <false /> </dontSearch>
  2236.         <sharedText> <false /> </sharedText>
  2237.         <fixedLineHeight> <true /> </fixedLineHeight>
  2238.         <autoTab> <false /> </autoTab>
  2239.         <lockText> <true /> </lockText>
  2240.         <rect>
  2241.             <left>3</left>
  2242.             <top>52</top>
  2243.             <right>192</right>
  2244.             <bottom>308</bottom>
  2245.         </rect>
  2246.         <style>rectangle</style>
  2247.         <autoSelect> <false /> </autoSelect>
  2248.         <showLines> <true /> </showLines>
  2249.         <wideMargins> <false /> </wideMargins>
  2250.         <multipleLines> <false /> </multipleLines>
  2251.         <reservedFamily> 0 </reservedFamily>
  2252.         <titleWidth>0</titleWidth>
  2253.         <icon>0</icon>
  2254.         <textAlign>left</textAlign>
  2255.         <font>Geneva</font>
  2256.         <textSize>9</textSize>
  2257.         <textStyle>plain</textStyle>
  2258.         <textHeight>12</textHeight>
  2259.         <name></name>
  2260.         <script></script>
  2261.     </part>
  2262.     <content>
  2263.         <layer>card</layer>
  2264.         <id>3</id>
  2265.         <text>
  2266.  
  2267.  
  2268. </text>
  2269.     </content>
  2270.     <content>
  2271.         <layer>card</layer>
  2272.         <id>15</id>
  2273.         <text>
  2274. Breakfast Food Sales
  2275. Lunch Food Sales
  2276. Dinner Food Sales
  2277.  
  2278. Lunch Alcohol Sales
  2279. Dinner Alcohol Sales
  2280.  
  2281.  
  2282.      Total Lunch
  2283.      Total Dinner
  2284.  
  2285.      Total Food
  2286.      Total Alcohol
  2287.  
  2288.                            Total Sales
  2289.  
  2290. Management & Administrative Payroll
  2291. Kitchen Payroll
  2292. Service Payroll
  2293. Total Payroll</text>
  2294.     </content>
  2295.     <content>
  2296.         <layer>card</layer>
  2297.         <id>14</id>
  2298.         <text>
  2299. 76543.20
  2300. 145678.33
  2301. 543678.98
  2302.  
  2303. 56789.45
  2304. 234786.12
  2305.  
  2306.  
  2307. 202467.78
  2308. 778465.10
  2309.  
  2310. 765900.51
  2311. 291575.57
  2312.  
  2313. 1057476.08
  2314.  
  2315. 105342.20
  2316. 121976.32
  2317. 55654.89
  2318. 282973.41</text>
  2319.     </content>
  2320.     <content>
  2321.         <layer>card</layer>
  2322.         <id>13</id>
  2323.         <text>
  2324. 0
  2325. 0
  2326. 0
  2327.  
  2328. 0
  2329. 0
  2330.  
  2331.  
  2332. 0.00
  2333. 0.00
  2334.  
  2335. 0.00
  2336. 0.00
  2337.  
  2338. .00
  2339.  
  2340. 0
  2341. 0
  2342. 0
  2343. 0.00</text>
  2344.     </content>
  2345.     <content>
  2346.         <layer>card</layer>
  2347.         <id>12</id>
  2348.         <text>
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359. </text>
  2360.     </content>
  2361.     <name></name>
  2362.     <script></script>
  2363. </card>
  2364.  
  2365.  
  2366. card_3643.xml
  2367. <?xml version="1.0" encoding="utf-8" ?>
  2368. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  2369. <card>
  2370.     <id>3643</id>
  2371.     <filler1>0</filler1>
  2372.     <bitmap>BMAP_4068.pbm</bitmap>
  2373.     <cantDelete> <true /> </cantDelete>
  2374.     <showPict> <true /> </showPict>
  2375.     <dontSearch> <false /> </dontSearch>
  2376.     <owner>3233</owner>
  2377.     <link rel="stylesheet" type="text/css" href="stylesheet_2288.css" />
  2378.     <content>
  2379.         <layer>background</layer>
  2380.         <id>6</id>
  2381.         <text>Take your Mac and this program to local restaurants, hotels and other retail stores and demonstrate it to them.  Charge them whatever you wish to customize this stack for them.  Just add in $5.00 for me.
  2382.  
  2383. This program makes it easy for retail establishments to track their sales volume and theirpayroll cost on a daily basis.  (Their accountant has been bugging them for years to do this.)
  2384.  
  2385. This program is not guaranteed to be bug free or to work satisfactorily with large amounts of data.  (What do you expect for $5.)  
  2386. </text>
  2387.     </content>
  2388.     <name></name>
  2389.     <script></script>
  2390. </card>
  2391.  
  2392.  
  2393.